<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
	</head>
	<style>
		.time{margin-bottom: 25px;}
	</style>
	<body>
		<div class="content">
			<img class="logo" src="img/logo.jpg"/>
			<h1>需求表单(租图租字)</h1>
			<div class="underline"></div>
				
				<div class="time">
					<div class="input_25 fl">
						<span>图片编号:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="photo_id" class="border"></span>
					</div>
					
					<div class="input_25 fl ">
						<span>字体类型:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="font_type" class="border"></span>
					</div>
					
					<div class="input_25 fl ">
						<span>使用范围:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="range" class="border"></span>
					</div>
					
					<div class="input_25 fl margin_b20">
						<span>使用期限:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="service_time" class="border"></span>
					</div>
					
					<div class="input_25 fl">
						<span>使用用途:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>	
						<span id="service_purpose" class="border"></span>
					</div>
					
					<div class="input_25 fl">
						<span>图片大小:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="photo_size" class="border"></span>
					</div>
					<div class="clear"></div>
				</div>
				<div class="time">
					<div class="title fl">项目:&nbsp;&nbsp;&nbsp;</div>
					<span id="content_2" class="border"></span>
					<div class="clear"></div>
				</div>
				<div class="time">
				
					<div class="title fl">客户:&nbsp;&nbsp;&nbsp;</div>
					<span id="content_1" class="border"></span>
					<div class="clear"></div>
				</div>
				
				<div class="time">
				
					<div class="title fl">图片:&nbsp;&nbsp;&nbsp;</div>
					<div id='filebox'></div>
				</div>
				<br />
		
		</div>
		
		<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/common.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">

			
			var sn = GetArgsFromHref(window.location.href,'sn');
			
			$.ajax({
				type:"post",
				url:'./app/index.php?m=public&a=detail',
				data:{'sn':sn},
				success:function(ret){
					var photo_id = ret.detail.photo_id;
					var font_type = ret.detail.font_type;
					var range = ret.detail.range;
					var service_time = ret.detail.service_time;
					var service_purpose = ret.detail.service_purpose;
					var photo_size = ret.detail.photo_size;
					var content_2 = ret.detail.content_2;
					$("#photo_id").html(photo_id);
					$("#font_type").html(font_type);
					$("#range").html(range);
					$("#service_time").html(service_time);
					$("#service_purpose").html(service_purpose);
					$("#photo_size").html(photo_size);
					$("#content_2").html(content_2);
					$("#content_1").html(ret.detail.content_1);
					
					detail_show_file("#filebox",ret.detail.file.file_upload_zutu);
				}
			});
		</script>
	</body>
</html>